let HeadNav = require('./rear/HeadNav');
let myInfo = require('./rear/myInfo');
let login = require('./rear/login');
let user = require('./rear/user');
let role = require('./rear/role');
let left_nav = require('./rear/left_nav');
let blogMessage = require('./rear/blogMessage');
let article = require('./rear/article');
let write = require('./rear/write');

module.exports = app => {
  app.use('/rear', HeadNav);
  app.use('/rear', myInfo);
  app.use('/rear', login);
  app.use('/rear', user);
  app.use('/rear', role);
  app.use('/rear', left_nav);
  app.use('/rear', blogMessage);
  app.use('/rear', article);
  app.use('/rear', write);
}